﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using BLL;

public partial class news_ShowNews : System.Web.UI.Page
{
    ReadParamtes bllParam = new ReadParamtes();

    protected void Page_Load(object sender, EventArgs e)
    {
        string guid = Request.QueryString["guid"].ToString() ?? "";
        DataTable dtNewsInfo = bllParam.GetNewsInfo(guid);
        this.lbl_Title.Text = dtNewsInfo.Rows[0]["N_Title"].ToString();
        this.ltl_Content.Text = dtNewsInfo.Rows[0]["N_Content"].ToString();
        this.ltl_CTime.Text = dtNewsInfo.Rows[0]["N_CTime"].ToString();
    }
}
